package Test3;

public class ChatStudent {
    public static void main(String[] args) {
        //开启两个线程
        new Thread(new UDPSender(7777, "localhost", 9999)).start();
        new Thread(new UDPReceive(8888, "老师")).start();
    }
}
